home *** CD-ROM | disk | FTP | other *** search
/ Aminet 2 / Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso / Aminet / gfx / x11 / Xincludes_930531.lha / os-include_x11.lha / os-include / X11 / Xaw / StripChart.h < prev    next >
C/C++ Source or Header  |  1992-11-02  |  4KB  |  95 lines

  1. /* $XConsortium: StripChart.h,v 1.5 91/07/26 22:50:35 converse Exp $ */
  2.  
  3. /***********************************************************
  4. Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
  5. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  6.  
  7.                         All Rights Reserved
  8.  
  9. Permission to use, copy, modify, and distribute this software and its 
  10. documentation for any purpose and without fee is hereby granted, 
  11. provided that the above copyright notice appear in all copies and that
  12. both that copyright notice and this permission notice appear in 
  13. supporting documentation, and that the names of Digital or MIT not be
  14. used in advertising or publicity pertaining to distribution of the
  15. software without specific, written prior permission.  
  16.  
  17. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  18. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  19. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  20. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  21. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  22. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  23. SOFTWARE.
  24.  
  25. ******************************************************************/
  26.  
  27. #ifndef _XawStripChart_h
  28. #define _XawStripChart_h
  29.  
  30. /***********************************************************************
  31.  *
  32.  * StripChart Widget
  33.  *
  34.  ***********************************************************************/
  35.  
  36. /* StripChart resources:
  37.  
  38.  Name             Class        RepType        Default Value
  39.  ----             -----        -------        -------------
  40.  accelerators         Accelerators    AcceleratorTable NULL
  41.  ancestorSensitive   AncestorSensitive    Boolean        True 
  42.  background         Background        Pixel        XtDefaultBackground
  43.  backgroundPixmap    Pixmap        Pixmap        XtUnspecifiedPixmap
  44.  borderColor         BorderColor    Pixel        XtDefaultForeground
  45.  borderPixmap         Pixmap        Pixmap        XtUnspecifiedPixmap
  46.  borderWidth         BorderWidth    Dimension    1
  47.  colormap         Colormap        Colormap    parent's colormap
  48.  cursor             Cursor        Cursor        None
  49.  cursorName         Cursor        String        NULL
  50.  depth             Depth        int        parent's depth
  51.  destroyCallback     Callback        XtCallbackList    NULL
  52.  foreground         Foreground        Pixel        XtDefaultForeground
  53.  getValue         Callback        XtCallbackList    NULL
  54.  height             Height        Dimension    120
  55.  highlight         Foreground        Pixel        XtDefaultForeground
  56.  insensitiveBorder   Insensitive    Pixmap        GreyPixmap
  57.  jumpScroll         JumpScroll        int        1/2 width
  58.  mappedWhenManaged   MappedWhenManaged    Boolean        True
  59.  minScale         Scale        int        1
  60.  pointerColor         Foreground        Pixel        XtDefaultForeground
  61.  pointerColorBackground Background    Pixel        XtDefaultBackground
  62.  screen             Screen        Screen        parent's screen
  63.  sensitive         Sensitive        Boolean        True
  64.  translations         Translations    TranslationTable NULL
  65.  update             Interval        int        10 (seconds)
  66.  width             Width        Dimension    120
  67.  x             Position        Position    0
  68.  y             Position        Position    0
  69.  
  70. */
  71.  
  72. #define DEFAULT_JUMP -1
  73.  
  74. #ifndef _XtStringDefs_h_
  75. #define XtNhighlight "highlight"
  76. #define XtNupdate "update"
  77. #endif
  78.  
  79. #define XtCJumpScroll "JumpScroll"
  80. #define XtCScale "Scale"
  81.  
  82. #define XtNgetValue "getValue"
  83. #define XtNjumpScroll "jumpScroll"
  84. #define XtNminScale "minScale"
  85. #define XtNscale "scale"
  86. #define XtNvmunix "vmunix"
  87.  
  88. typedef struct _StripChartRec *StripChartWidget;
  89. typedef struct _StripChartClassRec *StripChartWidgetClass;
  90.  
  91. extern WidgetClass stripChartWidgetClass;
  92.  
  93. #endif /* _XawStripChart_h */
  94. /* DON'T ADD STUFF AFTER THIS #endif */
  95.